﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dialer.aspx.cs" Inherits="SkypeDialer.Dialer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script src="/ISV/sharp-team.com/SkypeAddon/Scripts/SkypeScripts.js" type="text/javascript"></script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Skype Call</title>
    <link rel="stylesheet" type="text/css" href="/ISV/sharp-team.com/SkypeAddon/styles/dialog.css" />
</head>
<body>
    <object id="Skype" align="baseline" border="0" classid="CLSID:830690FC-BF2F-47A6-AC2D-330BCB402664"
    codebase="/_res/Skype4COM.dll" height="0" name="Skype" width="0"><span class="ErrorMessage">Failed to load Skype4COM control.</span>
</object>

    <form id="form1" runat="server" >
    <div>
       <table style="width: 100%; height: 100%;" cellspacing="0" cellpadding="0">
        <tr>
            <td colspan="2" class="ms-crm-Dialog-Header">
                <div class="header">
                    <div id="divSubjectHeader" class="ms-crm-Dialog-Header-Title">
                        Place a call</div>
                </div>
                <div id="divSubject" class="ms-crm-Dialog-Header-Desc">
                    Please choose which number you would like to call.</div>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 100%;">
                <div class="main">
                    <div id="Errors" runat=server>
                    </div>
                    <table id="fields" runat=server>
                    </table>
                </div>
            </td>
        </tr>
        <tr>
            <td class="footer">
                &nbsp;</td>
            <td align="right" class="footer">
                <button id="CancelButton" onclick="window.close();">
                            Cancel</button></td>
        </tr>
    </table>
    </div>
    </form>
</body>
    <script>        OnClLoad();</script>
</html>
